import { createRouter,createWebHashHistory } from 'vue-router';

const routers = [
    {
        path: '/vue3-ts/home',
        name: 'home',
        component: () => import('../views/Home.vue')
    },
    {
        path: '/vue3-ts/about',
        name: 'about',
        component: () => import('../views/About.vue')
    }
]      

const router = createRouter({
    history: createWebHashHistory(),
    routes: routers
});

export default router;
